package org.phoenixframework.api.rbac.controller;

import lombok.AllArgsConstructor;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.phoenixframework.api.rbac.service.ISysUserService;
import org.phoenixframework.common.entity.SysUser;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.ActiveProfiles;
import org.springframework.test.context.junit4.SpringRunner;

import javax.annotation.Resource;

/**
 * Created by IntelliJ IDEA.
 *
 * @author gaodun
 * DateTime: 2022/1/17 13:31
 * Description:
 */
@RunWith(SpringRunner.class)
@ActiveProfiles("dev")
@SpringBootTest
public class PmsProductController {

    @Resource
    private ISysUserService sysUserService;

    @Test
    public void userSave() {
        SysUser sysUser = new SysUser();
        sysUserService.save(sysUser);
    }


}
